//
//  JsTextFieldConfig.m
//  JsUtilitySdk
//
//  Created by Gikki Ares on 2023/4/23.
//

#import "JsTextFieldVm.h"
#import "JsColorManager.h"

@implementation JsTextFieldVm

+ (instancetype)sharedInstance {
	static JsTextFieldVm * _sharedInstance;
	static dispatch_once_t onceToken;
	dispatch_once(&onceToken, ^{
		_sharedInstance = [[JsTextFieldVm alloc]init];
		
	});
	return _sharedInstance;
}

+(instancetype)defaultVm {
	JsTextFieldVm * vm = [JsTextFieldVm new];
	return vm;
}

- (instancetype)init {
	if(self  = [super init]){
		self.placeholderSize_inactive = 14;
		self.textSize = 20;
		self.placeholderColor_active = [UIColor lightGrayColor];
		self.reminderColor_valid = [JsColorManager morandi_blue_sunshine];
		self.reminderColor_invalid = [JsColorManager morandi_red_iron];
		self.separatorColor_inactive = [JsColorManager morandi_lightGray];
	}
	return self;
}





@end
